package com.codeoss.framework.view.renderer;

import org.springframework.stereotype.Service;

import com.codeoss.framework.context.YunContext;
import com.codeoss.framework.view.component.Component;
import com.codeoss.framework.view.component.DashboardPage;

@Service("dashboardpageRenderer")
public class DashboardPageRenderer extends CommonComponentRenderer {
	@Override
	protected void startRenderView(YunContext yunContext, Component component, ViewSerializeMap viewSerializeMap) {
		super.startRenderView(yunContext, component, viewSerializeMap);
		DashboardPage dashboardPage=(DashboardPage)component;
		viewSerializeMap.put("refPageCode", dashboardPage.getRefPageCode()==null?"":dashboardPage.getRefPageCode());
	}
}
